package com.drama.outtake.service;

import com.drama.outtake.domain.Address;

import java.util.List;

/**
 * @Author : 李先均
 * @Date 2022/12/22 22:26
 */
public interface IAddressService {

    List<Address> getAddressesByUserId(Long userId);

    void create(Address address);

    void delete(Long id);

    void update(Address address);

    Address getDefaultAddressesByUserId(Long userId);

    Address getAddressById(Long id);
}
